services:
  web:
    build: ./project
    command: uvicorn app.main:app --reload --workers 1 --host 0.0.0.0 --port 8000
    volumes:
      - ./project:/usr/src/app
    ports:
      - 8007:8000
    environment:
      - DEBUG=true
      - LOG_LEVEL=DEBUG
      - SECRET_KEY=supersecretkey
      - ALGORITHM=HS256
      - ACCESS_TOKEN_EXPIRE_DAYS=7
      - DATABASE_URL=sqlite://db.sqlite3
      # - TEST_DATABASE_URL=sqlite:///./test.db
